<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>		  
		<div id="app"> 
			 
			 <img src="../img/cj07.png" v-show="showImage">
			 
			 <div style="margin-top: 50px;">
				 <input type="button" value="显示图片"  v-on:click="showImage=true" />
				 <input type="button" value="隐藏图片" v-on:click="showImage=false"/>
			 </div>
		</div>
		
	</body>
	<script src="../js/vue.js"></script>
	
	<script>
		
		const app=new Vue({
			el:"#app",
			// 存放私有数据地址
			data:{
				showImage: true
			}
		});
		
	</script>
</html>